package com.hejing.IDEA的使用;

/**
 * ClassName: Debug01
 * Package: com.hejing.IDEA的使用
 * Description:
 *
 * @Author: HeJing
 * @Create: 2023-04-06 11:55
 * @Version: 1.0
 */
public class Debug01 {
    public static void main(String[] args) {
        int m = 10;
        int n = 20;
        System.out.println("m = " + m + ", n = " + n);
        swap(m, n);
        System.out.println("m = " + m + ", n = " + n);
    }

    public static void swap(int m, int n){
        int temp = m;
        m = n;
        n = temp;
    }

}















